<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>In few letters, DWR</title>
</head>
<body>
	<a href="index.jsp">Back</a>
	<hr/>
	<p>The main purpose of our control layer is to provide the gates to 
	access the server side application. We have a clear division between the 
	client side and the server side, but the controller will be present on both
	sides.</p>
	<p>The controller ont only are between the to sides, it also exists as a 
	Java class and a Javascript singleton aswell. There will have a Javascript
	objetc mirroring the methods present on control class.</p>
	<p>On Javascript side, it will have callbacks whith asynchronous methods 
	for each method present on the Java side.</p>
	<p>We use DWR - Direct Web Remoting for this. It takes one servlet and a 
	small xml configuration. It integrates itself with spring aswell, but we're
	not using spring yet.</p>
	<p>The important technique to learn here is how a callback works. I'm sure
	that the sample code bundled with this project can help you to understand 
	this.</p>
</body>
</html>